import request from '@/utils/request'
import path from './path'

export function GetCode(requestData) {
    // return request.get(path.chengpin);

    // console.log('=========requestData=========');

    // console.log(requestData);

    // return request.get('/api/getCode');
    // return request.get('/user/validcode');
    // return request.post('/user/validcode',requestData);

    return request({
        url: "/user/validcode",
        method: "post",
        params: requestData
    });
}